<template>
  <transition name="bounce" mode="out-in">
    <div class="mui-content mh-containe pd">
      <mh-header headName="群发"> </mh-header>
      <div class="mass-list">
        <div class="mass-item">
          <p class="mui-text-center mh-pd">2017-04-06  12：00</p>
          <div class="mass-name">
            <p>5位联系人:</p>
            <p>李雪，王珂，李白，李平志，李可</p>
          </div>
          <div class="mass-content mui-clearfix">
            <p>下次再来</p>
            <button type="button" class="btn-new-msg">再发一条</button>
          </div>
        </div>
      </div>
      <div class="new-mass" @tap="newMass">新建群发</div>
    </div>
  </transition>
</template>

<script>
  import MhHeader from '@/components/mh-header/mh-header'
  export default {
    name: "msg-mass",
    methods: {
      newMass () {
        this.$router.push({
          path: '/messages/newMass'
        })
      }
    },
    components: {
      MhHeader
    }
  }
</script>

<style lang="scss" scoped>
  .mui-content {
    height: 100%;
    padding-bottom: 4.5rem;
  }
  .new-mass {
    position: fixed;
    width: 100%;
    padding: 1.5rem 0;
    left: 0;
    bottom: 0;
    background: #fff;
    font-size: 1.4rem;
    color: #e685aa;
    text-align: center;
  }
  .mass-list {
    padding: 0 1.5rem;
    .mass-name {
      padding: 1rem;
      background-color: #fafafa;
      p {
        font-size: 1.2rem;
        color: #333;
      }
    }
    .mass-content {
      padding: 1rem;
      background-color: #fff;
      border: 1px solid #eee;
      p {
        font-size: 1.4rem;
        color: #333;
      }
    }
  }
  .btn-new-msg {
    margin-top: 1rem;
    padding: .2rem .4rem;
    background-color: #f8f8f8;
    color: #333;
    font-size: 1.2rem;
    border-radius: 1rem;
    float: right;
  }
</style>
